﻿[#include "../include/html_header.html"/]
<script type="text/javascript">
    function onSubmit() {
        if (!$("#contract").attr("checked") == true) {
            alert("请阅读注册协议!");
            return;
        }
        $("#baseForm").submit();
    }
</script>
<script src="${base}/thirdparty/My97DatePicker/WdatePicker.js" type="text/javascript"></script>
</head>
<body>
[#include "../include/html_header_top.html"/]

<div class="am-container">
    <div class="am-cf admin-main">
        <!-- sidebar start -->
        [#include "member_nav.html"/]
        <div class="admin-content">

        <div class="usercenter_position"><span>退货订单</span> <a href="${base}/xsrm/20.htm" target="_blank"
                                                              style="color: #1A66B3;float:right;">查看积分规则</a></div>
        <div id="demo2" class="s-demo">
            <form id="baseForm" action="myscore.htm" method="post">
                <div class="ks-switchable-content">
                    <div>
                        <table id="detailShowtab" class="am-table">
                            <thead>
                            <tr>
                                <th width="100" style="text-align:left; padding-left:20px;">订单号</th>
                                <th width="100">退款类型</th>
                                <th width="100">申请时间</th>
                                <th width="100">状态</th>
                            </tr>
                            </thead>
                            <tbody>
                            [#if pagination?? && pagination.list?size gt 0]
                            [#list pagination.list as o]
                            <tr>
                                <td style="text-align:left;vertical-align: middle; height:60px;">
                                    <a class="aBlu" href="myOrderView.htm?orderId=${o.id}"
                                       target="_blank">${o.code!}</a></td>
                                <td>[@s.m "orderReturn.returnType.${o.returnOrder.returnType!}"/]</td>
                                <td>${o.returnOrder.createTime?string('yyyy-MM-dd HH:mm:ss')}</td>
                                <td> [@s.m "orderReturn.status.${o.returnOrder.status}"/][#if
                                    o.returnOrder.returnType=1][#if o.returnOrder.status=2]&nbsp;&nbsp;<a class="aBlu"
                                                                                                          href="shipments.htm?id=${o.returnOrder.id}"
                                                                                                          target="_blank">发货</a>[#elseif
                                    o.returnOrder.status=6]&nbsp;&nbsp;<a class="aBlu"
                                                                          href="accomplish.htm?id=${o.returnOrder.id}"
                                                                          target="_blank">确认</a>[/#if][#else][#if
                                    o.returnOrder.status=6]&nbsp;&nbsp;<a class="aBlu"
                                                                          href="accomplish.htm?id=${o.returnOrder.id}"
                                                                          target="_blank">确认</a>[/#if][/#if]
                                </td>
                            </tr>
                            [/#list]
                            <tr align="center">
                                <td colspan="4">[@pagination_style style='3'][/@pagination_style]</td>
                            </tr>
                            [#else]
                            <tr>
                                <td colspan="4">暂无退货记录</td>
                            </tr>
                            [/#if]
                            </tbody>
                        </table>
                    </div>
                </div>
            </form>
        </div>
    </div>
</div>
</div>

[#include "../include/footer.html"/]

</body>
</html>